package com.lujianfei.productprice.ui.main;

import android.content.Context;

import java.util.List;

public interface MainContract {
    interface Model{

        List<ShopEntity> loadData();

        boolean hasScardImportFile();

        void deleteScardImportFile();

        void importDataFromFile();

        void deleteOriginalData();
    }
    interface View{

        void setData(List<ShopEntity> list);

        Context getContext();

        void showLoading();

        void hideLoading();
    }
    interface Presenter{

        void loadData();

        void openEdit(ShopEntity itemAtPosition);

        void delete(ShopEntity itemAtPosition);

        void showShop(ShopEntity itemAtPosition);
    }
}
